package lg.minecraft.plugin.pokedex.storage;

/**
 * @author langle__
 * @version 1.0
 */
public enum StorageType {
    YAML,
    MYSQL;

    public static StorageType getStorageType(String storageType) {
        for (StorageType target : StorageType.values()) {
            if (target.name().equalsIgnoreCase(storageType)) {
                return target;
            }
        }
        return YAML;
    }

}
